package com.gdit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author fgba
 * @since 2021-09-07
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class Attendance {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 学生id
     */
    private String studentId;

    /**
     * 课程id
     */
    private String classTimeId;

    /**
     * 上课日期
     */
    private LocalDate classDate;

    /**
     * 签到状态，-1未签，0正常，1迟到
     */
    private Integer sighStatus;

    /**
     * 签到时间
     */
    private LocalDateTime sighTime;


}
